<extend name="Common:grid"/>
<!-- 
 ------------------------------------------------------
  相册列表页面
 ------------------------------------------------------
 -->
<block name="extOptions">
$.extend(defaultJqGridOptions,{
	colModel:[ 
		{name:"id",index:"id",hidden:true},
		{name:"name",index:"name",width:100,align:"left",sortable:false,editable:true,editrules:{required:true},formoptions:{elmsuffix:"&nbsp;*"},
			search:true,searchoptions:{sopt:["eq","ne","bw","ew","cn"]}},
		{name:"uid",index:"uid",width:80,align:"center",sortable:true,editable:false,
			search:true,searchoptions:{sopt:["eq","ne","gt","lt","le","ge"]}},
	    {name:"description",index:"description",width:120,align:"left",sortable:false,editable:true,edittype:"textarea",
	    	search:true,searchoptions:{sopt:["bw","ew","cn"]}},
	    {name:"position",index:"position",width:80,align:"center",sortable:true,editable:true,
			editrules:{required:false,integer:true,minValue:0},search:false},
		{name:"official",index:"official",width:80,align:"center",sortable:true,editable:true,edittype:"select",
		    formatter:"select",editoptions:{value:"1:是;0:否"},search:true,stype:"select",searchoptions:{value:"1:是;0:否",sopt:["eq","ne"]}},
		{name:"common",index:"common",width:80,align:"center",sortable:true,editable:true,edittype:"select",
		    formatter:"select",editoptions:{value:"0:否;1:是"},search:true,stype:"select",searchoptions:{value:"0:否;1:是",sopt:["eq","ne"]}},
		{name:"seen",index:"seen",width:80,align:"center",sortable:true,editable:true,edittype:"select",
		    formatter:"select",editoptions:{value:"1:是;0:否"},search:true,stype:"select",searchoptions:{value:"1:是;0:否",sopt:["eq","ne"]}},
		{name:"counts",index:"counts",width:60,align:"right",sortable:true,editable:false,
			search:true,searchoptions:{sopt:["eq","ne","gt","lt","le","ge"]}},
	    {name:"dateline",index:"dateline",width:70,align:"center",sortable: false,editable:false,formatter:"date",formatoptions:{srcformat:"u",newformat:"Y-m-d"},
			search:true,searchoptions:{sopt:["eq","ne","gt","lt","le","ge"],dataInit:function(e){initTime(e)}}},
		{name:"cover",index:"cover",width:80,align:"center",sortable:false,editable:true,search:false},
	],
	rowList:[30,60]
});
$.extend(defaultPagerVisiableOptions,{"search":true});
</block>